//
//  BaseResponse.swift
//  DyhlSdk
//
//  Created by wangbo on 2021/4/8.
//

import Foundation
import ObjectMapper
@objc public class BaseResponse:NSObject, Mappable{
    public var msg : String?
    public var code : Int?
    public var data : InfoData?
    required public init?(map: Map) {
    }
   
    public override init(){
        
    }
    public func mapping(map: Map) {
        msg <- map["msg"]
        code <- map["code"]
        data <- map["data"]
    }
    
    
}
@objc public class InfoData:NSObject, Mappable {
    
    required public init?(map: Map) {
        
    }
    public override init(){
        
    }
    public func mapping(map: Map) {
        novellist <- map["novellist"]
    }
    
    public  var novellist:String?
    
}
